package com.msw.jcwapi.wb.wbjyz.service;

import com.msw.jcwapi.wb.wbdz.entity.Wbdz;
import com.msw.jcwapi.wb.wbjyz.entity.Wbjyz;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2025-04-01
 */
public interface IWbjyzService extends IService<Wbjyz> {

    //通过工程id查询全部底座
    public List<Wbjyz> listByProId(int id);

    //通过wbjyzid删除该绝缘子
    public boolean deleteById(int id);

    //编辑腕臂绝缘子(通过id编辑)
    public boolean update(Wbjyz wbjyz);

    //通过wbjyzid查询该绝缘子的全部信息
    public Wbjyz listByWbjyzId(int id);

    //添加腕臂绝缘子
    public boolean add(Wbjyz wbjyz);

}
